<!DOCTYPE html>
<html lang="en">
    <head>
       <meta charset="UTF-8">
        <title>Title</title>
        <script>


            function f1(){

                // var s="1970/01/01 08:01:00"

                // var d=new Date();

                // var t=Date.parse(s);
                // var d=new Date(t);


                // var d=new Date(2024,0,4);

                // var d=new Date(2024,0,4,14,12,12);

                // var d=new Date(2024,-1,35);

                var d=new Date(2024,2,0);


                console.log(d);

                console.log(typeof d);


                console.log(d.getTime());

                console.log(d.getFullYear());
                console.log(d.getMonth());
                console.log(d.getDate());
                console.log(d.getHours());
                console.log(d.getMinutes());
                console.log(d.getSeconds());
                console.log(d.getDay());

            }


        </script>
    </head>
    <body onload="f1();">





    </body>
</html>